home *** CD-ROM | disk | FTP | other *** search
- Path: news.cyberport.com!usenet
- From: tangent@cyberport.com (Warren Young)
- Newsgroups: comp.lang.c++
- Subject: Re: Standard Template Library
- Date: Tue, 09 Apr 1996 08:57:11 GMT
- Organization: none
- Message-ID: <316a23b3.2185883@news.cyberport.com>
- References: <4jpk4f$9o@newsbf02.news.aol.com>
- NNTP-Posting-Host: ppp5.cyberport.com
- X-Newsreader: Forte Agent .99d/32.182
-
- jwoods9194@aol.com (JWoods9194) wrote:
-
- >I am looking for a generic implementation of the current STL draft (yeah,
- >I know
- >how C++ is SUPPOSED to be universal, but we all know how that works). I
- >plan on using it with the GNU C++ (for Linux) and Borland C++ 3.1
- >packages.
-
- You can't do STL on BC++ 3.1 because it doesn't have templates. You
- have to use at least 4.0. Or, I guess you could get a C++ front end
- that generates C, but that's hunting butterflies with a sledgehammer.
-
- As for GNU C++, you need at least 2.7.1, and I hear 2.7.2 is much
- better.
-
- For more on compatibility, check out my STL-compatible compilers list
- at http://www.cyberport.com/~tangent/programming/stlcomp.html
-
- >Even a pointer to the current draft standard would be appreciated...
-
- http://www-leland.stanford.edu/~iburrell/cpp/std.html
-
- Sections 23-25 and 27 have what you're looking for.
-
- Not to rain on your parade, though, but I don't think it likely that
- you'd be able to write your own from that information very easily. If
- I were in your shoes, I'd upgrade my compiler(s) as necessary and get
- HP's free STL, at ftp://butler.hpl.hp.com/stl/stl.zip. If you get
- Borland C++ 5.0, it comes with a version of STL, as does GNU C++ 2.7.0
- or so (it's part of its libg++ library).
-
- = Warren --
-